﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace B.WMS.InWareHouseManagement
{
    public class InWareHouseModel : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 应用ID(自定义方法生成)后期可自行修改
        /// </summary>
        public string Appid { get; set; }

        /// <summary>
        /// 入库类型
        /// 1、采购入库
        /// 2、调拨入库
        /// 3、受赠入库
        /// 4、捐赠入库
        /// 5、其他入库
        /// </summary>
        public int Inwarehousetype { get; set; }

        /// <summary>
        /// 所属仓库Id
        /// </summary>
        public string WarehouseId { get; set; }
        /// <summary>
        /// 库位编号ID
        /// </summary>
        public string LocationNo { get; set; }

        /// <summary>
        /// 操作日期
        /// </summary>
        public DateTime Inwarehousedate { get; set; }

        /// <summary>
        /// 状态
        /// 1、待入库
        /// 2、已入库
        /// 3、取消入库
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 关联进货单Id
        /// </summary>

        public string Relationordernum { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>

        public string Suppilier { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>

        public string Contactinfor { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>

        public string Operator { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>

        public string? Audituser { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? Auditdate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdeleted { get; set; } = false;

        /// <summary>
        /// 冗余字段1
        /// </summary>
        public string? Bake1 { get; set; }

        /// <summary>
        /// 冗余字段2
        /// </summary>
        public string? Bake2 { get; set; }

        /// <summary>
        /// 冗余字段3
        /// </summary>
        public string? Bake3 { get; set; }

        /// <summary>
        /// 冗余字段4
        /// </summary>
        public string? Bake4 { get; set; }

        /// <summary>
        /// 冗余字段5
        /// </summary>
        public string? Bake5 { get; set; }
    }
}
